home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / modules / nessus-2.2.8.mo / usr / lib / nessus / plugins / mandrake_MDKSA-2003-050.nasl < prev    next >
Text File  |  2005-01-14  |  3KB  |  113 lines

  1. #
  2. # (C) Tenable Network Security
  3. #
  4. # This plugin text was extracted from Mandrake Linux Security Advisory MDKSA-2003:050
  5. #
  6.  
  7.  
  8. if ( ! defined_func("bn_random") ) exit(0);
  9. if(description)
  10. {
  11.  script_id(14034);
  12.  script_version ("$Revision: 1.2 $");
  13.  script_cve_id("CAN-2003-0020", "CAN-2003-0083", "CAN-2003-0132");
  14.  
  15.  name["english"] = "MDKSA-2003:050: apache2";
  16.  
  17.  script_name(english:name["english"]);
  18.  
  19.  desc["english"] = "
  20. The remote host is missing the patch for the advisory MDKSA-2003:050 (apache2).
  21.  
  22.  
  23. A memory leak was discovered in Apache 2.0 through 2.0.44 that can allow a
  24. remote attacker to cause a significant denial of service (DoS) by sending
  25. requests containing a lot of linefeed characters to the server.
  26. As well, Apache does not filter terminal escape sequences from its log files,
  27. which could make it easy for an attacker to insert those sequences into the
  28. error and access logs, which could possibly be viewed by certain terminal
  29. emulators with vulnerabilities related to escape sequences.
  30. After upgrading these packages, be sure to restart the httpd server by
  31. executing:
  32. service httpd restart
  33.  
  34.  
  35. Solution : http://www.mandrakesoft.com/security/advisories?name=MDKSA-2003:050
  36. Risk factor : High";
  37.  
  38.  
  39.  
  40.  script_description(english:desc["english"]);
  41.  
  42.  summary["english"] = "Check for the version of the apache2 package";
  43.  script_summary(english:summary["english"]);
  44.  
  45.  script_category(ACT_GATHER_INFO);
  46.  
  47.  script_copyright(english:"This script is Copyright (C) 2004 Tenable Network Security");
  48.  family["english"] = "Mandrake Local Security Checks";
  49.  script_family(english:family["english"]);
  50.  
  51.  script_dependencies("ssh_get_info.nasl");
  52.  script_require_keys("Host/Mandrake/rpm-list");
  53.  exit(0);
  54. }
  55.  
  56. include("rpm.inc");
  57. if ( rpm_check( reference:"apache2-2.0.45-4.2mdk", release:"MDK9.1", yank:"mdk") )
  58. {
  59.  security_hole(0);
  60.  exit(0);
  61. }
  62. if ( rpm_check( reference:"apache2-common-2.0.45-4.2mdk", release:"MDK9.1", yank:"mdk") )
  63. {
  64.  security_hole(0);
  65.  exit(0);
  66. }
  67. if ( rpm_check( reference:"apache2-devel-2.0.45-4.2mdk", release:"MDK9.1", yank:"mdk") )
  68. {
  69.  security_hole(0);
  70.  exit(0);
  71. }
  72. if ( rpm_check( reference:"apache2-manual-2.0.45-4.2mdk", release:"MDK9.1", yank:"mdk") )
  73. {
  74.  security_hole(0);
  75.  exit(0);
  76. }
  77. if ( rpm_check( reference:"apache2-mod_dav-2.0.45-4.2mdk", release:"MDK9.1", yank:"mdk") )
  78. {
  79.  security_hole(0);
  80.  exit(0);
  81. }
  82. if ( rpm_check( reference:"apache2-mod_ldap-2.0.45-4.2mdk", release:"MDK9.1", yank:"mdk") )
  83. {
  84.  security_hole(0);
  85.  exit(0);
  86. }
  87. if ( rpm_check( reference:"apache2-mod_ssl-2.0.45-4.2mdk", release:"MDK9.1", yank:"mdk") )
  88. {
  89.  security_hole(0);
  90.  exit(0);
  91. }
  92. if ( rpm_check( reference:"apache2-modules-2.0.45-4.2mdk", release:"MDK9.1", yank:"mdk") )
  93. {
  94.  security_hole(0);
  95.  exit(0);
  96. }
  97. if ( rpm_check( reference:"apache2-source-2.0.45-4.2mdk", release:"MDK9.1", yank:"mdk") )
  98. {
  99.  security_hole(0);
  100.  exit(0);
  101. }
  102. if ( rpm_check( reference:"libapr0-2.0.45-4.2mdk", release:"MDK9.1", yank:"mdk") )
  103. {
  104.  security_hole(0);
  105.  exit(0);
  106. }
  107. if (rpm_exists(rpm:"apache2-", release:"MDK9.1") )
  108. {
  109.  set_kb_item(name:"CAN-2003-0020", value:TRUE);
  110.  set_kb_item(name:"CAN-2003-0083", value:TRUE);
  111.  set_kb_item(name:"CAN-2003-0132", value:TRUE);
  112. }
  113.